<script setup>
import {useCounterStore1} from '../stores/home.js' //引入pinia的一个模块
const counterStoreq=useCounterStore1()  //调用执行



import TheWelcome from '../components/TheWelcome.vue'
</script>

<template>
  <main>
    <iframe src="https://blog.csdn.net/cukw6666/article/details/107983196" frameborder="0"></iframe>
    123

  <h1>count:{{ counterStoreq.countq }}</h1>
  <h1>count2:{{ counterStoreq.countq2 }}</h1>
 <button @click="counterStoreq.increment()"> +1</button>

 <!-- <h1>count:{{ counterStore2.count2 }}</h1>
   
   <h1>2*Count:{{ counterStore2.doubleCount2 }}</h1>
   <button @click="counterStore2.increment()"> +1</button> -->

    <TheWelcome />

    
  </main>
</template>
